package mulMan.gui.view;
import java.awt.event.ActionListener;

import javax.swing.JButton;

import mulMan.domain.Playlist;

public class ModifyPlaylistView extends PlaylistFullView{
	
	private static final long serialVersionUID = -8083483641423766011L;
	
	private JButton buttonModify;

	public JButton getButtonModify() {
		return buttonModify;
	}
	public void setButtonModify(JButton buttonModify) {
		this.buttonModify = buttonModify;
	}
	
	

	public ModifyPlaylistView(Playlist playlist){
		super(playlist);
	}
	
	public void initView() {
		super.initView();
		
		setTitle("Playlist window");
	    
		buttonModify = new JButton();
		buttonModify.setText("Modify");
		buttonModify.setBounds(15, 50, 100, 20);
	    getPanel().add(buttonModify);
	}
	
	public void addModifyPlaylistListener(ActionListener apl) {
		buttonModify.addActionListener(apl);
    }

}
